package com.spark.Service;

import com.spark.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhouqichun
 * @version 1.0
 * @date 2021/8/6 - 08 - 06 - 16:00
 * @description diary com.spark.Service
 */
public interface UserService {
    User getLoginUser(String username, String password);
    int addUser(User user);
    int getUserCount();
    User getUserById(@Param("userId") int id);
    int updateUser(User user);
}
